package com.irdstudio.efp.esb.api.bean.psd.notice.resp;

import com.alibaba.fastjson.annotation.JSONField;
import com.irdstudio.efp.esb.api.common.GroupeInterface.psd;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 需求编号：【2019D1218】（普税贷需求）
 * 问题编号：【2019D1218】（预授信结果通知响应Bean）
 * 开发人员：【ludayong】
 * 创建日期：【2019/11/20 10:11】
 * 功能描述：
 */

public class NlsPsdPreCreditResultNoticeRespBean implements Serializable {

    // 返回代码
    @NotNull(groups = {psd.class})
    @NotEmpty(groups = {psd.class})
    @Length(max = 32, groups = {psd.class})
    private String RetCd;

    @JSONField(name = "RetCd")

    public String getRetCd() {
        return RetCd;
    }

    @JSONField(name = "RetCd")

    public void setRetCd(String RetCd) {
        this.RetCd = RetCd;
    }

    // 返回信息
    @Length(max = 512, groups = {psd.class})
    private String RetMsg;

    @JSONField(name = "RetMsg")

    public String getRetMsg() {
        return RetMsg;
    }

    @JSONField(name = "RetMsg")

    public void setRetMsg(String RetMsg) {
        this.RetMsg = RetMsg;
    }
}
